add code for JER