Made limit to user input. Fixes #6