write a brief comment to the functions