set class name as global var