making them work in Models