removing unnecessary call to processData