switching to relational database