Working 2 with validation