add licence to code