added a main title and titles for x and y axis