create loops example