steps 1-5 of method call algorithm implemented