entity dao implemented but not tested