added Apache 2.0 licence