add dynamics for partition