added getModelIds() method