added demo and examples