At this point should I be able to do the following?
You need to use $labels as per the example here.
$labels