How to act before knocking on the door