added clique_error simulation