disable warning for functions