added validate function though they don't really do anything yet #32