second attempt at db ex7