prevent unnecessary network roundtrips