Simplify func prototype