Extracted parse_arguments