changes to commanline class