fixed errmsg, + example to ReadMe