extracted constants from hardcodes