explicit db reference for all methods.