added header and updated formatting