added some more documentation.