works now, missing reactivity to waves