changed block diagram