added some comments and fixed axis titles