added bid retrieval funcationality to dao