Added example code and instructions