get modelName also from function arguments