migrated from stype to vartype because Luke changes my variable names without consulting me.