added rating distance to diagram
Added promised rating provider