added downloadDataFromServer Method