.

implemented error block