fifth function added.