Completes steps 1-5