Invalid values are now detected yay