Other function to read arguments