Added all and any for promise