added wait bar (worked with katja suvajac)