added moves api example code