removed non-ansi stuff