forgot to add test
refactor out validate() function for dragon to reuse ;-)