minor improvement in analysis