adding global class