added exmples and demo