debug next()-call condition