adding generator as a bin