made all methods in class variants