minor improvement to behead