initial server/client functinaility