Removed redundancy
Added network communication