updated minimize to edited function
organised debate files