added lib with example