temporarily changed to use redux