refactor elec painter 80%