modified Dashboard.java