docs mostly finished