Updated libraries
Added example code