sneer/async: moving functions to there