#6 #9 change return type of readfromserver to String