basic state getter