added ability to define custom validate method in commands
minor renaming of method to better express intent