updated front-end to use processData