get db new.

code do Pedro