implemented deliberate noise flip