Fixed : working function call

calls the appropriate function based on user's input, regardless of
whether capital letter