prints state info in readable format