prepare change to XGame