Sample application for dynamic partitioning