patching, structuring for x.
Merge branch 'master' of https://github.com/withcenter/x