wiring up for database backed data