added LD stuff