client changes for server method