Separate loops for gas and electricity pre_results
log
added check for ' character and added other_products