plays the role of
process
for this traversal
printrecord(pls,ptr);