federal and state credits