updated to use Minia from the GATB library