working through Dao implementation