working configuration, added localStorage