add license header and newline