updating docs; fixing NA bug