Debugging and Adding db summary