Add subscribeExample to explain subscribe and foreach are same