Added a message in read, prints integers, and fixed a small bug