Added getSubIds() method