add legacy model example