Added subreset to bdb