Adding custom loop removed commented-out code

Signed-off-by: Rew Rixom - imac <rew@rixom.org>