DOC-1107: fixed example and added formula suggested