Added licenses function