added some docs
changed some private names
added some docs