removed random #endif