Add debugging to find out why server is operating the way it is