add examples for discrete model