moved constants to namespace