use class names for different states