added lib from examples repo