added model Remaining
custom merge