demo updated & new example added