Adding some sugar for valid and invalid