Third function added.