carries through loop like while; closes #21
Merge pull request #27 from WHET-PLT/loop

carries through loop like while; closes #21