added if class exists