Add overloaded loop method