adding docopt interface