add getter for server