moved state constants to the entity class