now able to take input