change method to get jd