add doc texts to explain what functions are