Added functions associated with  subscribe.