manager server edited for debugging purposes