Fixed formatting and added initial code for later sections