added licence code