before mains removed