fix for prepare()
added some real examples