call to serialize in and out in gamewindow saving