demonizer almost done, leaks and multi-dem to be fixed
TODO modified