added state tracker for models