redid the cache and made redisplaying options optional