added licensing terms (Apache V2.0)