more datamunging stuff