added dao methods and test's are passing