redundant computation eliminated, faster