Added function coments