add the integer sequence generator using closure