took out Type enumeration in favor of recently learned function pointers