chart and command line parser implemented