Weird, when I inserted this was giving problems when I used code instead of type, I've changed it now and all tests pass. I've changed it, thanks.