optimizations....