minor performance optimization.