adding comment to each function and spesific code