changes to add reactor