preventing static db access