@quark your code works here too so it might be something on martins end.
@Martin you don’t have to use classes you could just do something like this