code cleanup, snippets added , OOVFUNC changed to is_ill