Net income was 12 cents a share , compared with a net loss of $ 35 million , or 20 cents , a year earlier .