Demo for ldm