update argument parsing. works now