demo and demo output