Added second function