scrambled testing code