Blackboxes implemented, not tested.