Reverting to previous code

update broke processing