more efficient, if 'outside' the 'for'