simplified version

still problem of reactivity