adding server functions
planning Connection functions