added linkage between models and activities