pass in partition name as necessary