Created loops for faster results