found way to take input