tackling errors