ok, it runs
not sure about casting