allow generators without yield