store backwards relationships for time vs space tradeoff