adjusted the function get_input