change constants from class to interface