added db etc