command-line implemented