input seems to be working correctly