excessive case statements was annoying me so they're gone