working on parse arg functionality