changes to simulation controller