got automatic motion working