made a better template for visIdealOutput method