added progess bar and scanline