started adding ldoc documentation