use constants to denote types