delay db lookup in factories