Create chaos code