determine what type is being sought
switch(currentlist)