started on moment based error detection