final DB structure