working on docs, almost done
some working tests