added dashboardP.c, psudocode