Some form error handling
Better duplicate comparison