Rb add diagnostics