now supports temporary DB