changing processfn logic in executethis