Storage - Functioning code with comments