1st working code minus post-processing