Code added to slow transfer in p mode