minor improvement to previous commit