removed unused dao function