Title: Valence, orbital, and spin states of cobaltates