added db cache