changed to db