adding apply last step