working on docopt interface