adding loops demo file