added allplanetscaptured function