currently caching db reference