changed limit input method