adding thermal object class