Removed unused global var