common code go to common place
subscribe and unsubscribe. Not done yet.