added error/warning/info messaging