patrick's go to reactor code