working on getopt to docopt transition