fixed code, added demo