relay docs
fix encoder and docs