updated printing <- changed outputformat of createname