added some more codedocumentation