use references instead of storing the actual objects.  Will make the logic a lot quicker to execute, and easier to maintain.