[IMP] ex.8.1. show the state field as a status bar