async used for tests only