Implimenting partials for comments to refactor the code