Cleans out displayPriv() and displayPub()