removed unused extern