implement function to get arguments from stdin