add int for server as well