Added sleep(1000) to be able to properly test sizes of arrays