added three functions