work on reactor control flow