Issue #26: Adding local storange function (not sure how clever this is! Please check!)