replaced a hard coded value