slight performance optimization