Add command line description and fix outOfBounds