added message printer