implement status line