Added second function.