adding accuracy, updating docs
adding tests