How to modify and change behavior

How to modify and change behavior