stuff for PBC2009 dataset