add socket read code