added initial code
formatting