add if statements for removing technical outliers