modified sandfox version