input prints working