made changes for client