adding check for completion to server.