simulate MIT-scheme