add helper functions to enable expanding db entries