added changes for displaying problems