Blake's initial code