added some example and methods