Correctly added input handling

The Jan-library wasn't committed