added limits on user input fields