added error checking; exists if no args found