working on other side of database