add functionality for Comment entity