added early stopping