adding state label functionality.

Signed-off-by: Mark Casias <mcasias@newsignature.com>