Simple Example of doing validation