changed to use status bar