Added inv and sample-02