Implement validation