change hardcoded value to constant