more efficient pickle