modifying codegen path for now and renaming QType to Type