Make simpledisplay to function