adding errbit
adding catcher