updated var name to correct modelName