repeat model is working