updated head partial with Graham's changes