':param pg:
:param stash:
:param kwargs:
:return:'

def step(self, pg, stash, **kwargs):

    self._peek_forward(pg)
    self._categorize_states(pg)
    if (not pg.active):
        self._load_fallback_states(pg)
    if pg.active:
        pg.step()
    if (not pg.active):
        self._load_fallback_states(pg)
    return pg
