implement new "error" method