getModels function

Utility Function for RRPP