Add loop generations