Fixed indentation
Another attempt to reduce the complexity of the print method