made some loops