optimization, excluding unnecessary loops