started implementing dao