subscribe function.
Merge branch 'master' of https://github.com/xone-team/p0001