actions is a vector of objects, not pointers
mind.plan() now uses copy_if instead of a loop