move hex object to constants