improved command-line interface