added print twice example