improving code, create networking