pause button working (no ui)