Changed network type and using correct syntax