models defined