added stops check