added modely and outputs