Implemented continuous input.