fixed for use without array, extended docs