stage 3, set behavior dynamically.