+1 for reducing loop iterations