Moved list instantiation to correct location