optimization. should *greatly* reduce cpu usage. #136