still hasn't run the sampling part of code due to probably a defective sensor