Extend each func