fixed inconsistency in documentation vs example