helpers and local_storage