Added example code
Updated docs