added err message