use tap(e) for tests