updated to include the planets graph