corrected function 'lazy'