get rid of history.state for now and implement go