Changed the input-functionality.