under what conditions is the ```return 0``` triggered?