Made new demo1 using higher level abstraction detektor.