added status message printing