add EM framework and it works