The original code didn't work, so I just followed the example from another boss :)