added pausing game