Updated views feature

Added classes to state field