added dashboard functions