updated command-line interface