Reactive programming HW 4