added comments for readability, permissions for unlimited storage