gm class checking