few more db operations