-modified to print the first 20 elements