using wrong loop function
Merge pull request #49 from yonderHub/loop-inteface

using wrong loop function