mostly added some XML doc comments