now fills subject table. ready to fill the final table