reducing the overall amount of methods been called to improve performance