added a poor mans cacher