removed timer on is_xg function