implemented round robin database