switching up validation order passes tests