Legit Promise implementation