moved constants to constants file