added func2