formatting source code
applying licence headers