add lua captures