added print method
nicer comments