get comment functionality