added licence and exception