Paper for the CAI journal.-