added code to test dashboard