rices datras functions only