Included read function for old rbms