Using shaping as an operant conditioning strategy, it's possible to reward behaviour that becomes closer and closer to what you want. Your dog can be taught a variety of skills by rewarding him when he sits, then lying down, and finally rolling onto his back.