added is_error property