add a part of the DB reader (had to fixe something)