added basic commenting function