updated, waves addition solved