adding another loop program