move to enum for subType