removed ability to use localStorage for testing