using the curtain f in Models