add random pattern back