Modified examples in order to use original print method