removed unused global