localStorage to storage