updated to new Luce API