bug fixed; reviving simulator