1st attempt to use py with cache