some small changes, possibly erroneouse