fit new Function in some program