added trained only and ac penalty