simulation now displays without errors