Removed call to switch statement from separateType

too complicated