use method var in net.client