db lookups reduced to 1