create a class to compare elements of db with the id values
update toString