updated file headers and documentating formatting