added example validation