Controller diagram