write function to parse arguments
Merge remote-tracking branch 'origin/master'