removed r_db