Should change this name to "getrnid" -- it only gets the single "rnid", which is always 0, so might not be useful anyway.