changed constants to relate to specs