added some more example codes