tutorial updated with layer 1