replaces p with puts, as its easier to read from console