get Types by creating in Controller instead of through get Methods