Changed get_user_selection() function to specific data types.