add compute rank