add initialize function to comment model