move constants to global level?