updated
dir
added prepare()