more idiomatic print and new