added print messages