fooled around with threshold, created example file with new image arrays