replace hardcoded number with constant