use new riot_set* functions