Removed extra #endif