Improved block diagram: