Turns out the code is not working for number only values, but throw some text in there and it works fine. Figured it out myself!