Added display-sim function