added tabs and graph