partially corrected apply 2