Reduce the number of method calls, improve performance