added comments funtions