debugging
now global model