new easier prototype code, no amazon s3