improved speed by eliminating extra trips