Fixed non-ANSI code