implemeted status bar