Implemented all, any and delay