create comment partial and refactor