add partition method
fix conflicts. version 0.0.11