applied Martin Hurton's view() simplification, not checking arg