simplified model and removed unnecessary parts