cody bates