error message and status message added.