model is working for success path