socket Handling back end array