Fixed non-compilable code