finished complete implementation of the DB alimentation