Formating & socket modifications