- updated code to use propert constant