A whole system model for integration