integrating DB lookups using tasks.