Changed the Print Court Function