tutorial diagram