add some loops