added demo, updated to 0.4.0