enum and usertypes sample