reaction.py