added messages at beginning and end of the process