updated it to allow network stuff