very small performance optimization. but a start.