Qualifying for education tax credits