Added calls to db