updated documentation and refactored get_cache into fetch