added basic example code