i added all of the sections of code for each sensor together into a single file. still need to add comments.