added server debugging