adjust current api & add distinct
v0.2.0