added predicate
renamed predicate to stop