Demo3 Complete working(before clean-up)