capture motion