Chapter3 and 4 for tutorial dashboard