moved to promises on objdag