add functionality to server