Printnames fn added
changed list of lists to a list of hashes