Setting Behavior Dinamically