use consts definition to instead hard code