work on basic db operation