removed an unnecessary computation