Add func method