Edited storage.size and storage.left to be functions