step3a and step3b