dao having interface implementation