Added JSD functions