some example codes added