still reworking touch server connection code