again, you can improve this code, see below to example of validation's use and exists?