A simple code that breaks down validation into small blocks