added more methods to the comment table class