for (ref $entry){ ## i think this will check for the type being input by the use