Added read result checks before print