The analysis of behavior in planning instruction