adjustment to make simulation work