supporting negative numbers in menu option