new dashboard code