Enhance fn with loop-body