add cfx_loop snippet