uploading example to understand cached vector functions