Commented out the networking section of it; just using test method