tools loop