add dynamic metric evaluation