this throws an error when I try and run the app
TypeError: Object.keys called on non-object