corrected indent to kw argument
renamed internal print > _print to simplify interface