Designing Behavior Tree