only class works