function Goal met in duration required