removed parse_input method