added some doucumentation