parse storage and device