prints state