use trampoline EC to avoid conteext switching