generateContentRow method