another speedup possible