fourth function added.