Adapted example for luna