Added debug statements and made it so that the client can actually show.