wip, concept improvements , wait primitive added. bug fixing. not yet ready