adding some cross references and trying out code samples in preview