code added to show courts