db instead of self