add state display to boilerplate