New code snippet for model with variations