reworked rDB