You say he lived with you the whole year. You can say that for a newborn so that you get the personal exemption and qualify for the credits.