made commandLib more useful