added statusbar (not working yet)