Added subroutine to get input from user