input button works