cache some results