quick pass on loops