electron parts+clean up