Code to iterate over all slot names