added bits support
Merge branch 'master' into 1.0