added debugging lines to server