commented out loops on client and server