more refinement, set upper bound to 240