formatting and adding content