changed the printed output to make it more human readable and aid in debugging