Add loop constructor and destructor