Removed checkStop as it wasn't needed