add commenting function