simplify game streaming code