use old api for tests