Made a hard-coded value (49) dynamic