using cached images (fixes #176)