planner list improved to a map

plan variables are stored as a map