improve progress class and to some more stuff