add new "error" method and call it