added rank into Document JCAS