initial version of trainer data extraction