Add upper as well as lower limit in method.