added licence headers