code to display status of ideals.