function bp_aps_show_extra_degrees()
{
    $second = bp_aps_get_linkable_degree('Second ');
    if (!empty($second)) {
        ?>
		<tr <?php 
        bp_field_css_class();
        ?>
>
			<td class="label">Second Degree</td>
			<td class="data"><?php 
        echo $second;
        ?>
</td>
		</tr>
	<?php 
    }
    $third = bp_aps_get_linkable_degree('Third ');
    if (!empty($third)) {
        ?>
		<tr <?php 
        bp_field_css_class();
        ?>
>
			<td class="label">Third Degree</td>
			<td class="data"><?php 
        echo $third;
        ?>
</td>
		</tr>
	<?php 
    }
}
    ?>
</p>
				</td>
			</tr>					
		</table>
	</div>

	<div role="tabpanel" class="tab-pane" id="professional-info">
		<table class="profile-fields">
			<tr <?php 
    bp_field_css_class();
    ?>
>
				<td class="label">Degree</td>
				<td class="data"><?php 
    echo bp_aps_get_linkable_degree();
    ?>
</td>
			</tr>

			<?php 
    bp_aps_show_extra_degrees();
    ?>

			<tr <?php 
    bp_field_css_class();
    ?>
>
				<td class="label">Professional Affiliation</td>
				<td class="data"><?php 
    echo bp_aps_get_linkable_affiliation();