[FEATURE MODFIED]: socket reading