Add main example code