DB layout interogation now works